package com.liuer.service.impl;

import com.liuer.mapper.UserMapper;
import com.liuer.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {


    @Autowired
    private UserMapper userMapper;
    /**
     * 根据用户ID获取用户头像
     * @param userId
     * @return
     */
    public String getUImg(Integer userId) {
        return userMapper.getUImg(userId);
    }
}
